Purpose |
To update the retail flag for the non flagged retail materials to consider for Japan POS extracts. |
Requested By |
Craig Spangler |
Spec Created By |
Deepak Yasam |
Spec Created Date |
23/02/2015 |
Spec QA by |
Deepak Yasam |
Objects |
ZSD_JPN_RETAIL_FLAG |
Document Status |
Completed |
Sl.No |
Activity |
Estimation in Hours |
1 |
Research |
04 |
2 |
Documentation |
04 |
3 |
Development/ Config |
24(10 hours consumed till now) |
4 |
Unit test in DEV |
08 |
5 |
Unit test in QUA |
08 |
6 |
Other activity |
|
TOTAL |
48 |
Sl. |
Change Details |
Requested By |
Requested On |
Notes if any |
1 |
The requirement is changed to have a program that will flag the unflagged retail materials in the MM.The old price and item extract programs would be run as it is. |
Craig Spangler |
02/24/2015 |
NA |
2 |
Removed the logic from program, which was considering deliveries with goods movement status = C. |
Craig Spangler |
04/01/2015 |
NA |
Test ID |
Test Scenario |
Expected Results |
SD001 |
Execute the program with sales org 3200 , date (current day -1) , directory in the application server as inputs (/usr/sap/NED/RETAIL/Japan/IN/Itemextract.txt), and front end file path,file name as inputs. |
1.The NL PGI'ed deliveries of 0620 plant in the specified date should be considered and the materials from these deliveries should be dispalyed in the file with the requied data. 2.For the unflagged retail materials of the extracted materials , the product attribute 5 (retail) should be checked in the material master. 3.The file should be uploaded into the specified application server directory and display the contents in the file, the extract when opened in Notepad ++ should display CR and LF 4.The file should be saved in the directory with the time stamp as text file and with the prefix 01 in the file name. 5.Download the file to front end with the specified file name and display the contents in the file. |
SD002 |
Execute the program with sales org 3200 and wrong directory in the application server as inputs (/usr/sap/NEDRETAIL/Japan/IN/Itemextract.txt). |
An error log should be dispalyed saying wrong file path. |
SD003 |
Execute the program in background with sales org 3200 , date (current day -1) , directory in the application server as inputs (/usr/sap/NED/RETAIL/Japan/IN/Itemextract.txt), and front end file path,file name as inputs. |
Two separate files should be saved on the application server in thespecified directory with the below expected results. 1.The NL PGI'ed deliveries of 0620 plant in the specified date should be considered and the materials from these deliveries should be dispalyed in the file with the requied data. 2.For the unflagged retail materials of the extracted materials , the product attribute 5 (retail) should be checked in the material master. 3.The Item extract/Price extract files should be uploaded into the specified application server directory and the contents should be displyed in the file, the extract when opened in Notepad ++ should display CR and LF. 4.The file should be saved in the directory with the time stamp as text file and with the prefix 01 in the file name. |
Test ID |
Test Scenario |
Expected Results |
SD001 |
Execute the program with sales org 3200 , date (current day -1) as inputs. |
The program should flag the unflagged retail materials in the material master and the output should display the list of materials that are flagged. |
Test ID |
Test Scenarios |
Expected Results |
SD0-001 |
Delivery type - NL, Ship-to party- NEC0620 Delivery without pick & pgi Material Retail flag is unchecked. Input Sorg- 3200 and Delivery creation date (04/02/2015) Execute the program - ZSD_JPN_RETAIL_FLAG |
Program should be executed and Materials should be Retail flagged |
SD-002 |
Delivery type - NL, Ship-to party- NEC0620 Delivery with Picking only Material Retail flag is unchecked. Input Sorg- 3200 and Delivery creation date (04/02/2015) Execute the program - ZSD_JPN_RETAIL_FLAG |
Program should be executed and Materials should be Retail flagged |
SD-003 |
Delivery type - NL, Ship-to party- NEC0620 Delivery with pick and pgi Material Retail flag is unchecked. Input Sorg- 3200 and Delivery creation date (03/04/2015) Execute the program - ZSD_JPN_RETAIL_FLAG |
Program should be executed and Materials should be Retail flagged |
SD-004 |
When no materials are available for retail flag on the specified date. Input Sorg- 3200 and Delivery creation date (03/04/2015) Execute the program - ZSD_JPN_RETAIL_FLAG |
Program should be executed and error message should be displayed ' No materials to be retail flagged' |